﻿#ifndef __SS_IPRICTURE_H__
#define __SS_IPRICTURE_H__
#include "../opengl/ssOpenGLSupport.h"

namespace StarSeeker
{

class ssIPicture
{
	friend class ssTextureSpirit2d;
public:
	ssIPicture()
	{
		m_width = 0;
		m_height = 0;
		m_pBit = 0;
		m_glImageFormat = 0;
	}
	virtual ~ssIPicture() {}

	virtual bool LoadFromFile(const char* path) = 0;
protected:
	i32						m_width;			//图片宽
	i32						m_height;			//图片高
	u8	*					m_pBit;				//位图数据指针
	u32						m_glImageFormat;	//opengl纹理图片格式
};

}
#endif
